50b83df71b8d1101e2e1eb44c6e034544f447a8e,src/main/java/mezz/jei/util/ModRegistry.java,ModRegistry,addRecipeHandlers,#IRecipeHandler#,69

Before Change


		Preconditions.checkNotNull(recipeHandlers, "recipeHandlers cannot be null");
		Preconditions.checkArgument(recipeHandlers.length > 0, "recipeHandlers cannot be empty");

		Collections.addAll(this.recipeHandlers, recipeHandlers);
	}

	@Override

After Change


	}

	@Override
	public void addRecipeHandlers(@Nullable IRecipeHandler... recipeHandlers) {
		Preconditions.checkNotNull(recipeHandlers, "recipeHandlers cannot be null");
		Preconditions.checkArgument(recipeHandlers.length > 0, "recipeHandlers cannot be empty");

		for (IRecipeHandler recipeHandler : recipeHandlers) {
			Preconditions.checkNotNull(recipeHandler.getRecipeClass());
			Preconditions.checkArgument(!recipeHandler.getRecipeClass().equals(Object.class), "Recipe handlers must handle a specific class, not Object.class");
			this.recipeHandlers.add(recipeHandler);
		}
	}